﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class Login : MonoBehaviour {
    private void Awake()
    {
        GlobalHelper.FindGameObjectWithName(gameObject,"Close").GetComponent<Button>().onClick.AddListener(delegate () { this.Quit(); });
    }
    void Quit()
    {
        Application.Quit();
    }
}
